extern printf:proc
extern getchar:proc
extern exit:proc
extern ExitProcess:proc

.data
    msg db 'Hello, World!%d', 0
.code
main proc
    sub rsp, 40

    mov edx, 100
    lea rcx, msg
    xor r8, r8
    call printf

    call getchar

    xor rcx, rcx    
    call ExitProcess
main endp
end
